package com.lhkk.inventoryvehicle.http

import com.lhkk.inventoryvehicle.BuildConfig


object API {
    const val KEY = "A6F8C43C7DD944BAB55FC688EF48EA07"
    const val ORGANIZATIONAL_CODE = "lhkk"
    const val BASE_URL_RELEASE = "https://fls-iot-api.pingan.com.cn/iot/partnership/" //正式环境

    const val BASE_URL_TEST = "https://fls-iot-api-stg-sit.pingan.com.cn/iot/partnership/" //测试环境
    const val REQUEST_PERMISSIONS = "isOutStock" //出库权限查询
    const val FILE_UP_URL = "fileUpUrl" //获取文件上传链接
    const val FILE_UP_FINISH = "fileUpFinish"//文件上传完成
    const val IN_OUT_SYNC = "inOutStock"//出入库信息同步

    fun getBaseUrl(): String = if (BuildConfig.DEBUG) BASE_URL_TEST else BASE_URL_RELEASE
}